package service;

import dao.IUserDao;
import dao.UserDaoImpl;
import entity.User;

public class UserServiceImpl implements IUser {

    private IUserDao dao;

    public UserServiceImpl() {
        dao = new UserDaoImpl();
    }

    @Override
    public User checkUser(String username, String password) {
        return dao.selectStudentLogin(username,password);
    }
}
